package com.hongye.auth.dao;

import com.hongye.auth.entity.RoleUserEntity;
import com.hongye.auth.entity.UserEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * @author hxy
 * @email 3199037134@qq.com
 * @date 2022/4/19 15:47
 */
@Mapper
public interface LoginDao {

    UserEntity findUserMsg(@Param("phone") String phone);


    RoleUserEntity IfUserIsBroker(@Param("role") Integer role, @Param("id") Integer id);
}
